package controleur;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashMap;

import model.Cellule;
import model.Coordonnee;

public class ActionTemplate implements ActionListener{

	private HashMap<Coordonnee, Cellule> hMap;

	public ActionTemplate(HashMap<Coordonnee, Cellule> hashMap) {
		this.hMap = hashMap;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		ToogleCellule.setTemplate(true, hMap);		
	}

}
